import {
  Button,
  NavBar,
  Field,
  Form,
  Toast,
  Tabbar,
  TabbarItem,
  Icon,
  Cell,
  CellGroup,
  Dialog,
  Popup,
  DatetimePicker,
  Uploader,
  Tab,
  Tabs,
  List,
  PullRefresh,
  Divider,
  Sticky,
  ActionSheet,
  Grid,
  GridItem,
  Search,
  Image
} from 'vant'

export default {
  install (Vue) {
    Vue.use(NavBar)
    Vue.use(Button)
    Vue.use(Field)
    Vue.use(Form)
    Vue.use(Toast)
    Vue.use(Tabbar)
    Vue.use(TabbarItem)
    Vue.use(Icon)
    Vue.use(Cell)
    Vue.use(CellGroup)
    Vue.use(Dialog)
    Vue.use(Popup)
    Vue.use(DatetimePicker)
    Vue.use(Uploader)
    Vue.use(Tab)
    Vue.use(Tabs)
    Vue.use(List)
    Vue.use(PullRefresh)
    Vue.use(Divider)
    Vue.use(Sticky)
    Vue.use(ActionSheet)
    Vue.use(Grid)
    Vue.use(GridItem)
    Vue.use(Search)
    Vue.use(Image)
  }
}
